package com.itheima.w_conf;

/**
 * SupWarsConstant : 抑制警告常量类
 *
 * @author dingwen
 * @since 2024/7/17 13:53
 */
@SuppressWarnings(SupWarsConstant.UNUSED)
public final class SupWarsConstant implements IConstant {
    /**
     * 抑制所有警告
     */
    public static final String ALL = "all";

    /**
     * 抑制装箱、拆箱操作时候的警告
     */
    public static final String BOXING = "boxing";

    /**
     * 抑制映射相关的警告
     */
    public static final String CAST = "cast";

    /**
     * 抑制启用注释的警告
     */
    public static final String DEP_ANN = "dep_ann";

    /**
     * 抑制过期方法警告
     */
    public static final String DEPRECATION = "deprecation";

    /**
     * 抑制在SWITCH中缺失BREAK的警告
     */
    public static final String FALLTHROUGH = "fallthrough";

    /**
     * 抑制FINALLY模块没有返回的警告
     */
    public static final String FINALLY = "finally";

    /**
     * 隐藏与隐藏变量的局部变量相关的警告
     */
    public static final String HIDING = "hiding";

    /**
     * 忽略没有完整的SWITCH语句
     */
    public static final String INCOMPLETE_SWITCH = "incomplete_switch";

    /**
     * 忽略非NLS格式的字符
     */
    public static final String NLS = "nls";

    /**
     * 忽略对NULL的操作
     */
    public static final String NULL = "null";

    /**
     * 使用GENERICS时忽略没有指定相应的类型
     */
    public static final String RAWTYPES = "rawtypes";

    /**
     * 抑制与使用不鼓励或禁止的引用相关的警告
     */
    public static final String RESTRICTION = "restriction";
    /**
     * 忽略在serializable类中没有声明serialVersionUID变量
     */
    public static final String SERIAL = "serial";

    /**
     * 抑制不正确的静态访问方式警告
     */
    public static final String STATIC_ACCESS = "static_access";
    /**
     * 抑制子类没有按最优方法访问内部类的警告
     */
    public static final String SYNTHETIC_ACCESS = "synthetic_access";
    /**
     * 抑制没有进行类型检查操作的警告
     */
    public static final String UNCHECKED = "unchecked";
    /**
     * 抑制没有权限访问的域的警告
     */
    public static final String UNQUALIFIED_FIELD_ACCESS = "unqualified_field_access";
    /**
     * 抑制没被使用过的代码的警告
     */
    public static final String UNUSED = "unused";
}
